package com.example.imtoken.modules.main.wallet.assets.add

import androidx.recyclerview.widget.DiffUtil
import com.example.imtoken.entitys.app.WalletsEntity
import com.example.imtoken.entitys.http.Children

class AddAssetsDiffCallback : DiffUtil.ItemCallback<Children>() {

    override fun areItemsTheSame(oldItem: Children, newItem: Children): Boolean {
        return oldItem.coin == newItem.coin
    }

    override fun areContentsTheSame(oldItem: Children, newItem: Children): Boolean {
        return oldItem.isSelect == newItem.isSelect
    }


}